<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller {
	
	function __construct() {
		parent::__construct();
	}
	
	function index(){
		$this->load->library("session_manager");
		$sm = $this->session_manager;
		
		$data = array(
			"title" => "Home",
			"jsarray" => array(),
			"extra" => ""
		);
		
		$this->load->view("header", $data);

		$data = array(
			"nickname" => $sm->user['nickname'],
		);
		$this->load->view("menu", $data);
		
		$this->load->view("home");
		
		$this->load->view("footer");
		
		
	}
}

?>